<?php
	
$h	= dir('icons');
$s	= "";
for(;$f=$h->read();){
	if( $f == '.' || $f == '..' || substr($f, -3) == 'css' ){
		continue;	
	}
	
	$node	= substr($f, 0, -4); 
	$s	.= ".icon-$node{background-image:url($f)!important;}\n";
}
$h->close();
	file_put_contents('icons/list.css', $s);
?>